package socnet.model;

public class Comment {

	private int id=-1;
	private String text;
	private String time;
	private String author;
	private int post_id;
	private int group_id;
	
	public Comment(String time, String text, String author){
		this.text = text;
		this.time = time;
		this.author = author;
		++id;
	}
	
	public Comment(){
		++id;
	}

	public int getId() {
		return id;
	}

	public void setId(int id) {
		this.id = id;
	}

	public String getText() {
		return text;
	}

	public void setText(String text) {
		this.text = text;
	}

	public String getTime() {
		return time;
	}

	public void setTime(String time) {
		this.time = time;
	}

	public String getAuthor() {
		return author;
	}

	public void setAuthor(String author) {
		this.author = author;
	}

	public int getPost_id() {
		return post_id;
	}

	public void setPost_id(int post_id) {
		this.post_id = post_id;
	}

	public int getGroup_id() {
		return group_id;
	}

	public void setGroup_id(int group_id) {
		this.group_id = group_id;
	}
	
	
	
}
